/**
 * @author ypz
 * @date 2021/10/25 18:46
 */
public class SynchronizeDemo {
    public void method() {
        synchronized (this) {
            System.out.println("synchronized 代码块");
        }
    }
}
